import request from '@/utils/request'

// 获取可接单服务列表
export function listCleaningList(query) {
  return request({
    url: 'order/takeOrders/list',
    method: 'get',
    params: query
  }).then(response => {
    console.log('Response from request.js in takeOrders.js:', response);
    return response;
  });
}

// 获取用户地址列表
export function listUserAddresses01(userId) {
  return request({
    url: 'order/takeOrders/listUserAddresses01',
    method: 'get',
    params: { userId }
  })
}
